package com.es.controller;

import com.es.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller("studentController")
public class StudentController {

    @Autowired
    private StudentService service;//

    public void save() {
        System.out.println("我是student Controller，进行交互");
        service.save();
    }


}
